package org.bminfo.migle.format;

public class SeqFormatter {
	
	public String seqFormatter(String content){
		
		StringBuilder seq = new StringBuilder();
		for (int i = 0; i < content.length(); i++) {
			seq.append(content.charAt(i));
			if (((i + 1) % 60 == 0) && ((i+1) != content.length())) {
				seq.append("\n");
				continue;
			}
			if (((i + 1) % 10 == 0) && ((i+1) != 60)) {
				seq.append("  ");
			}
		}
		
		return seq.toString();
	}
}
